package com.prs.crm.domain.oa;

import java.util.Set;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.Table;

import com.prs.crm.domain.BaseEntity;

/**
 * @author YangHao
 * @E-Mail:450098606@qq.com
 * @qq:450098606
 * @version 创建时间：2012-5-9 15:37:03 模块维护
 */
@Entity
@Table(name="oa_modulemaintain")
public class ModuleMaintain extends BaseEntity{
	private static final long serialVersionUID = 1L;
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	private Integer id;
	private String name;//模块名称
	private String moduleState;//模块状态
	private String state;//状态
	private String backTrigger;//后台触发程序
	private String attachSet;//附件设置
	@OneToMany(fetch=FetchType.LAZY,mappedBy="moduleMaintain")
	private Set<FramesSet> framesSet;
	
	
	private String flowName;
	private String remark;
	private String buildWay;
	private Boolean upload;
	private Boolean updateFlow;
	private String flowSet;
	
	public String getFlowName() {
		return flowName;
	}
	public void setFlowName(String flowName) {
		this.flowName = flowName;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getBuildWay() {
		return buildWay;
	}
	public void setBuildWay(String buildWay) {
		this.buildWay = buildWay;
	}
	public Boolean getUpload() {
		return upload;
	}
	public void setUpload(Boolean upload) {
		this.upload = upload;
	}
	public Boolean getUpdateFlow() {
		return updateFlow;
	}
	public void setUpdateFlow(Boolean updateFlow) {
		this.updateFlow = updateFlow;
	}
	public String getFlowSet() {
		return flowSet;
	}
	public void setFlowSet(String flowSet) {
		this.flowSet = flowSet;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getModuleState() {
		return moduleState;
	}
	public void setModuleState(String moduleState) {
		this.moduleState = moduleState;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String getBackTrigger() {
		return backTrigger;
	}
	public void setBackTrigger(String backTrigger) {
		this.backTrigger = backTrigger;
	}
	public String getAttachSet() {
		return attachSet;
	}
	public void setAttachSet(String attachSet) {
		this.attachSet = attachSet;
	}
	public Set<FramesSet> getFramesSet() {
		return framesSet;
	}
	public void setFramesSet(Set<FramesSet> framesSet) {
		this.framesSet = framesSet;
	}
}
